package com.itheima.consumer.config;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @version 1.0
 * @Author moresuo
 * @Date 2024/9/14 13:58
 * @注释
 */
@Configuration
public class MessageConfig {
    @Bean
    public Queue objectQueue(){
        return new Queue("object.queue");
    }
}
